package com.hades.example.java.refactoring.before.c11.c11_1_pull_up_field;

public class Example {
    public static void main(String[] args) {
        Salesman employee = new Salesman();
        employee.name = "Salesman";
        System.out.println(employee.name);

        Engineer employee2 = new Engineer();
        employee2.name = "Engineer";
        System.out.println(employee2.name);
    }
}